package com.ruyuan.commodity.enums;

/**
 * 缓存的cache key
 **/
public enum RedisCacheKey {

    /**
     * 商品的缓存key
     */
    GOODS_DETAIL_KEY_PREFIX("GOODS_DETAIL_KEY_"),
    ;

    /**
     * 锁前缀
     */
    private String prefix;

    RedisCacheKey(String prefix) {
        this.prefix = prefix;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }
}
